package com.whut.service;

import com.whut.model.Contracttaskaccept;
import com.whut.model.Problemcollect;
import com.whut.v_model.PointAndProject;
import com.whut.v_model.CTPInfo;
import com.whut.v_model.ProblemCollectDetail;
import com.whut.model.*;
import com.whut.v_model.ProjectNum;

import java.util.List;

public interface MotorService {
    List<Object> getAllContractInfoByReserve1(String reserve1, String contractId);

    List<Newprefixsystem> getSecondChildsByNode(Integer preNum);

    Integer getProblemNumByForthId(Integer fourthId,String contractId);

    List<Problemcollect> getItemByNameAndDepth(String parameterName, Integer nodeDepth,String contractId);

    List<Problemcollect> getProblemsByForthId(Integer fourthId);

    List<ProblemCollectDetail> getRiskWarning(Integer contractId);
    Integer getMaxTaskId(Integer contractId);

    List<ContractCheckTask> getCheckBytaskId(Integer taskId);

    List<Problemcollect> getProblemsBycheckId(Integer checkId);

    List<Object> getProblemsByContractId(Integer contractId);

    List<Object> getAllContractInfo();

    List<ContractTaskProject> getAllProjectInfo();

    List<Problemcollect> getProjectInfoByContractId(Integer contractId,Integer firstId);

    Problemcollect getTimeInterval(Integer contractId, Integer firstId);

    Contractinfo getClientByContractId(Integer contractId);

    List<PointAndProject> GetProjectRank(Integer taskId, String startTime, String endTime);

    List<PointAndProject> getNewProjectRank();

    List<PointAndProject> getNewProjectRankByContract(Integer contractId);

    List<PointAndProject> getNewProjectOnlyByTime(String startTime, String endTime);

    List<Contracttaskaccept> getAllTaskInfo(Integer contractId);

    List<Contracttaskaccept> getAllTask();

    List<ProblemCollectDetail> getProblemByProject(Integer checkId,Integer projectId);

    List<ProjectNum> getProjectNumByArea(String area);

    Object getProjectLocByContractIds(String contractIds);

    List<CTPInfo> getCTPInfoByContractId(Integer contractId);

    List<Object> getDataTest(String secondName, String contractIds);

    List<ProblemCollectDetail> getProblemDetail(int projectId, String reserve1);

    List<ProblemCollectDetail> getProblemsByTaskId(int taskId);
}
